<?php
/**
 * Core_Controller_Currentmoduledata
 * get current controller data
 * @author Adrian Stolarski
 */
class Core_Controller_Currentmoduledata implements Core_Controller_Mainable {
    
    /**
     *
     * @var type $current_module_data
     * current module data handler
     */
    public $current_module_data;
    
    /**
     * constructor()
     */
    public function __construct() {
        $this->current_module_data = new Core_Model_Currentmoduledata;
    }
    
    /**
     * main()
     * get current model data
     * 
     * @param array $variables
     * @return type Core_Model_Currentmoduledata
     */
    public function main(array $variables = null) {
        //var_dump($variables);
        //die();
        return $this->current_module_data->main($variables);
    }

}
